package com.kunya.product.service;

import com.kunya.common.common.ServerResponse;
import com.kunya.product.po.Navigation;

public interface INavigationService {

    /**
     * 导航栏添加分类
     * @param navigation
     * @return
     */
    public ServerResponse addNavigation(Navigation navigation);

    /**
     * 显示隐藏导航栏
     * @param navigation
     * @return
     */
    public ServerResponse updateNavigation(Navigation navigation);

    /**
     * 显示导航栏内的所有商品
     * @param navigationId
     * @return
     */
    public ServerResponse showGoods(Long navigationId);

    /**
     * 删除导航栏下的单个商品
     * @param navigationBarId
     * @return
     */
    public ServerResponse deleteGoods(Long navigationBarId);

    /**
     * 删除整个导航信息
     * @param navigationId
     * @return
     */
    public ServerResponse deleteNavigation(Long navigationId);
}
